{
g_autoptr (GSubprocess) proc = NULL;
g_autoptr (GFile) dstdir = NULL;
- g_autofree char *dstpath = NULL;
char **s;
if (!ensure_tmpdir (pack, error))
return FALSE;
}
-#if MAJOR_VERSION >= 46
-#error "Outdated compatibility code, please remove"
-#else
- dstpath = g_file_get_path (dstdir);
- proc = g_subprocess_new (G_SUBPROCESS_FLAGS_STDERR_SILENCE, error,
- "glib-compile-schemas", "--strict", dstpath, NULL);
-
- if (!g_subprocess_wait_check (proc, NULL, error))
- return FALSE;
-#endif
-
g_hash_table_insert (pack->files,
g_strdup ("schemas"), g_steal_pointer (&dstdir));
return TRUE;
config_h = configuration_data()
config_h.set_quoted('GETTEXT_PACKAGE', package_name)
config_h.set_quoted('VERSION', meson.project_version())
-config_h.set('MAJOR_VERSION', meson.project_version().split('.')[0])
config_h.set_quoted('LOCALEDIR', localedir)
config_h.set('HAVE_BIND_TEXTDOMAIN_CODESET', cc.has_function('bind_textdomain_codeset'))
configure_file(